package com.seuic.hnjiningposapp.hnapps.util;

import com.socks.library.KLog;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtils {
    public static String getTimeData() {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");// HH:mm:ss
        //获取当前时间
        Date date = new Date(System.currentTimeMillis());
        KLog.e(date);
        return simpleDateFormat.format(date);
    }
}
